import axios from "axios";
let BaseUrl = 'http://localhost:5002/';
export const Login = (params) => {
 return axios({
method: 'Post',
 url: BaseUrl + 'Users/action',
 params: params
 }).then(res => res.data).catch(error => console.log(error));
}
export const AddUsers = (params) => {
 console.log(params)
 return axios({
 method: 'Post',
 url: BaseUrl + 'Users',
 data: params
}).then(res => res.data).catch(error => console.log(error));
}
//以下代码由T4模板生成

//T4模板生成结束